#pragma once

class ILinedTextModel
{
public:
	ILinedTextModel(void);
	virtual ~ILinedTextModel(void);
public:
	virtual String GetLine(int lineNO) = 0;
	virtual uint AppendText(String text) = 0;
	virtual uint InsertText(int lineNO, int col, String text) = 0;
	virtual uint DeleteLine(int lineNO) = 0;
	virtual uint DeleteChar(int lineNO, int col) = 0;
	virtual uint DeleteText(int lineNO, int length) = 0;
	virtual uint DeleteText(int lineStart, int colStart, int lineEnd, int colEnd) = 0;
};
